RETRIEVE email details- C#

To retrieve a detailed log of your messaging history, use the following code:

var client = new PayliteMessaging.Client.MessagingClient();

 

var emails = new List<string>();

emails.Add("c2ac1837-6b3f-4e3b-bf6d-4ddc9e4bb55c");

 

var response = client.GetEmailsByIds(new GetEmailsByIdsModel

{

ApiKey = "Your API Key",

EmailIds = emails,

});